﻿using Volo.Abp;
using Volo.Abp.DependencyInjection;
using AbpApplication_Module.Dto;
using AbpApplication_Module.Iservice;
using Volo.Abp.Application.Services;
using Volo.Abp.Domain.Repositories;
using AbpApplication_Module.Repository;

namespace AbpApplication_Module.Service
{
    /// <summary>
    /// 使用Abp领域服务模块Service
    /// </summary>
    [Dependency(ServiceLifetime.Transient)]
    //过滤Api自动控制器
    [RemoteService(IsEnabled = true)]   //true 显示 ，false不显示
    //[LogEnable]  //动态代理 拦截器(aop)
    //[Authorize("Product_Select")]   //Service授权
    public class ProductImageService : CrudAppService<ProductImage, //模型
                                                       ProductImageDto,  //结果出餐
                                                       int, //主键
                                                       ProductImagePageDto,//查询入参
                                                       ProductImageCreateDto,     //创建入参dto
                                                       ProductImageUpdateDto      //更新入参dto
                                                       >, IProductImageService
    {
        public ProductImageService(IProductImageRepository productImageRepository) : base(productImageRepository)
        {

        }
    }
}
